package com.oms.module.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @Author zhanghailong QQ38592077
 * @Description TODO
 * @Date 2020/6/11 10:19
 */
@TableName(value = "oms_admin_menu")
@Data
@ToString(callSuper = true)
public class MenuEntity implements Serializable {
    /**
     * id
     */
    private Long id;
    /**
     * url
     */
    private String url;
    /**
     * 路径
     */
    private String path;
    /**
     *
     */
    private String component;
    /**
     *
     */
    private String name;
    /**
     * 图标
     */
    private String iconCls;
    /**
     * 元信息
     */
    private Meta meta;
    /**
     * 父id
     */
    private Integer parentId;
    /**
     * 是否禁用
     */
    private Boolean enabled;
    /**
     * 子菜单
     */
    private List<MenuEntity> children;
//    private List<Role> roles;
}
